package com.frank.subject.domain.convert;

import com.frank.subject.domain.entity.SubjectAnswerBo;
import com.frank.subject.domain.entity.SubjectInfoBo;
import com.frank.subject.infra.basic.entity.SubjectBrief;
import com.frank.subject.infra.basic.entity.SubjectInfo;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.Mappings;
import org.mapstruct.factory.Mappers;

/**
 * @author Frank Zou
 * @version v0.0.1
 * @date 2024/1/25 17:00
 * @description
 */
@Mapper
public interface SubjectBriefBoConverter {
    SubjectBriefBoConverter INSTANCE = Mappers.getMapper(SubjectBriefBoConverter.class);


    SubjectBrief convertBoToEntity(SubjectInfoBo subjectInfoBo);

}
